package com.lovo.project.enums;

/**
 * @title 商品状态枚举类
 * @author: chenqiang
 * @date: 2020/11/3 17:09
 */
public enum ProductEnum {
    /**添加商品异常*/
    PRODUCT_ADD_ENUM(5301,"添加商品异常"),
    /**修改商品异常*/
    PRODUCT_Update_ENUM(5302,"修改商品异常"),
    /**查询商品异常*/
    PRODUCT_Find_ENUM(5303,"查询商品异常"),
    /**删除商品异常*/
    PRODUCT_DELETE_ENUM(5304,"删除商品异常");

    /**枚举状态码*/
    private int code;
    /**状态信息*/
    private String msg;

    ProductEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
